package com.cait.cait.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author ：Yangjiangtao
 * @date ：Created in 2020/2/12 16:42
 * @modified By：Tangjiangtao
 * @description：成员
 */
@Controller
public class NewsController {
//    @GetMapping("/notice")
//    public ModelAndView toNews(){
//        ModelAndView view = new ModelAndView("/front/notice");
//
//        return view;
//    }

    @GetMapping("/admin/news")
    public ModelAndView toAdminNews(){
        ModelAndView view = new ModelAndView("/admin/news");

        return view;
    }
}
